/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.webos.java.base;

import java.lang.reflect.Method;

/**
 *
 * @author kostya
 */
public class MessageHandler {
    private String name = "";
    private Object instance = null;
    private Method method = null;

    public MessageHandler(String aName, Object aObject, Method aMethod) {
        name = aName;
        instance = aObject;
        method = aMethod;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the instance
     */
    public Object getInstance() {
        return instance;
    }

    /**
     * @return the method
     */
    public Method getMethod() {
        return method;
    }

}
